%\documentstyle[11pt,a4]{article}
%\documentclass[a4paper]{article}
\documentclass[a4paper, 10pt]{article}
% Seems like it does not support 9pt and less. Anyways I should stick to 10pt.
%\documentclass[a4paper, 9pt]{article}
\topmargin-2.0cm

\usepackage{url}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{fancyhdr}
\usepackage{pagecounting}
\usepackage[dvips]{color}

% Color Information from - http://www-h.eng.cam.ac.uk/help/tpl/textprocessing/latex_advanced/node13.html

% NEW COMMAND
% marginsize{left}{right}{top}{bottom}:
%\marginsize{3cm}{2cm}{1cm}{1cm}
%\marginsize{0.85in}{0.85in}{0.625in}{0.625in}

\advance\oddsidemargin-0.65in
%\advance\evensidemargin-1.5cm
\textheight9.2in
\textwidth6.75in
\newcommand\bb[1]{\mbox{\em #1}}
\newcommand{\todo}[1]{\bf[[#1]]}
\newcommand{\sai}[1]{{\color{blue}\todo{@Congle: #1}}}
\newcommand{\congle}[1]{{\color{red}\todo{@Sai: #1}}}
\newcommand{\note}[1]{{\color{magenta}\todo{todo: #1}}}
\newcommand{\CodeIn}[1]{{\small\texttt{#1}}}
\def\baselinestretch{1.05}
%\pagestyle{empty}

\newcommand{\hsp}{\hspace*{\parindent}}
\definecolor{gray}{rgb}{0.4,0.4,0.4}
%\definecolor{gray}{rgb}{1.0,1.0,1.0}


\begin{document}
\thispagestyle{fancy}
%\pagenumbering{gobble}
%\fancyhead[location]{text} 
% Leave Left and Right Header empty.
\lhead{}
\rhead{}
%\rhead{\thepage}
\renewcommand{\headrulewidth}{0pt} 
\renewcommand{\footrulewidth}{0pt} 
%\fancyfoot[C]{\footnotesize \textcolor{gray}{http://www.cs.washington.edu/homes/szhang}} 

\makeatletter
\def\topfigrule{\kern3\p@ \hrule \kern -3.4\p@} % the \hrule is .4pt high
\def\botfigrule{\kern-3\p@ \hrule \kern 2.6\p@} % the \hrule is .4pt high
\def\dblfigrule{\kern3\p@ \hrule \kern -3.4\p@} % the \hrule is .4pt high
\makeatother \addtolength{\textfloatsep}{-.5\textfloatsep}
\addtolength{\dbltextfloatsep}{-.5\dbltextfloatsep}
\addtolength{\floatsep}{-.5\floatsep}
\addtolength{\dblfloatsep}{-.5\dblfloatsep}


\pagestyle{fancy}
%\lhead{\textcolor{gray}{\it Sai Zhang}}
%\rhead{\textcolor{gray}{\thepage/\totalpages{}}}

% This kind of makes 10pt to 9 pt.
\begin{small}

%\vspace*{0.1cm}
\begin{center}
{\large \bf CSE 574 Project Final Report, Dec 11, 2011}\\
\vspace*{0.5cm}
%{\Large  Using Markov Logic Network for Software Bug Localization }\\
{\Large  Unifying Testing-based Automated Software Bug Localization with\\ Markov Logic Network}\\
\vspace*{0.5cm}
{\normalsize Sai Zhang, Congle Zhang}\\
\vspace*{0.1cm}
{\normalsize \{szhang, clzhang\}@cs.washington.edu}
\end{center}

\input{overview}

\input{testingbackground}

\input{interface}

\input{mlnmodelling}

\input{example}

\input{experiment}

\input{implication}

\input{related}

\input{conclusion}


\vspace{0.5cm}

\end{small}
%\newpage

%\begin{thebibliography}{deSolaPITH}
% Change font size?
% \tiny, \footnotesize, \small,\normalsize, \large, \Large, \LARGE, and \huge 
%\begin{small}
\begin{footnotesize}

\bibliographystyle{plain}
\bibliography{ref}

\end{footnotesize}

\end{document}

